package com.xiaoyu.lingdian.service;

import java.util.List;
import com.xiaoyu.lingdian.entity.CoreRideActive;
import com.xiaoyu.lingdian.core.mybatis.page.Page;

public interface CoreRideActiveService {

	/**
	* 添加
	* @param coreRideActive
	* @return
	*/
	public boolean insertCoreRideActive(CoreRideActive coreRideActive);

	/**
	* 修改
	* @param coreRideActive
	* @return
	*/
	public boolean updateCoreRideActive(CoreRideActive coreRideActive);

	/**
	* 修改累计人数
	* @param coreRideActive
	* @return
	*/
	public boolean updateCrraeCount(CoreRideActive coreRideActive);
	
	/**
	* 删除
	* @param coreRideActive
	* @return
	*/
	public boolean deleteCoreRideActive(CoreRideActive coreRideActive);

	/**
	* 批量删除
	* @param list
	*@return boolean
	*/
	public boolean deleteBatchByIds(List<String> list);

	/**
	* 查询
	* @param coreRideActive
	* @return
	*/
	public CoreRideActive getCoreRideActive(CoreRideActive coreRideActive);

	/**
	* 查询所有List
	*@return List
	*/
	public List<CoreRideActive> findCoreRideActiveList();


	/**
	* 查询所有Page
	*@return Page
	*/
	public Page<CoreRideActive> findCoreRideActivePage(int pageNum, int pageSize, String crraeTitle);

//<=================定制内容开始==============
//==================定制内容结束==============>

}